package projectiles;

import java.awt.Dimension;
import java.awt.geom.Point2D;

import javax.swing.ImageIcon;

import core.ShootingUnit;

public class Bullet extends Projectile {
	
	private static final ImageIcon image = new ImageIcon(Bullet.class.getResource("../images/bullet.gif")); 
	public static final int damage = 3;
	public static final int speed = 1500;

	public Bullet( ShootingUnit origin, Point2D.Double position, int viewAngle, Point2D.Double destination ) {
		super(origin, position, viewAngle, new Dimension(Bullet.image.getIconWidth(), Bullet.image.getIconHeight()), Bullet.image, Bullet.damage, destination, Bullet.speed );
	}

}
